.class public Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;
.super Ljava/lang/Object;
.source "MediaPlayerControlWrapper.java"

# interfaces
.implements Landroid/widget/MediaController$MediaPlayerControl;


# instance fields
.field private final mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;


# direct methods
.method public constructor <init>(Landroid/widget/MediaController$MediaPlayerControl;)V
    .locals 0
    .parameter "playerControl"

    .prologue
    .line 40
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 41
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    .line 42
    return-void
.end method


# virtual methods
.method public canPause()Z
    .locals 1

    .prologue
    .line 53
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canPause()Z

    move-result v0

    return v0
.end method

.method public canSeekBackward()Z
    .locals 1

    .prologue
    .line 58
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canSeekBackward()Z

    move-result v0

    return v0
.end method

.method public canSeekForward()Z
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canSeekForward()Z

    move-result v0

    return v0
.end method

.method public getBufferPercentage()I
    .locals 1

    .prologue
    .line 68
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->getBufferPercentage()I

    move-result v0

    return v0
.end method

.method public getCurrentPosition()I
    .locals 1

    .prologue
    .line 73
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->getCurrentPosition()I

    move-result v0

    return v0
.end method

.method public getDuration()I
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->getDuration()I

    move-result v0

    return v0
.end method

.method public isPlaying()Z
    .locals 1

    .prologue
    .line 83
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result v0

    return v0
.end method

.method public onControllerHide()V
    .locals 0

    .prologue
    .line 48
    return-void
.end method

.method public pause()V
    .locals 1

    .prologue
    .line 88
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->pause()V

    .line 89
    return-void
.end method

.method public seekTo(I)V
    .locals 1
    .parameter "pos"

    .prologue
    .line 93
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0, p1}, Landroid/widget/MediaController$MediaPlayerControl;->seekTo(I)V

    .line 94
    return-void
.end method

.method public start()V
    .locals 1

    .prologue
    .line 98
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/wrapper/MediaPlayerControlWrapper;->mPlayerControl:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->start()V

    .line 99
    return-void
.end method
